import {
    Store,
    install
} from 'vuex';
import Vue from 'vue';
import banner from "./banner";
import setting from "./setting";
import about from "./about";
import project from "./project";

if (!window.Vuex) {
    install(Vue);
}

export default new Store({
    modules: {
        banner,
        project,
        setting,
        about
    },
    strict: true,
});